<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        li{
            height: 30px;
            background: #000;
            margin-bottom: 50px;
        }
    </style>
    <script src="jquery-3.2.0.min.js"></script>
    <script>
        $(function(){
            $('li').click(
                    function(){
                        alert(1)
                    }
            )
        })
    </script>
</head>
<body>
<ul>
    <li>1</li>
    <li>2</li>
    <li>3</li>
    <li>4</li>
    <li>5</li>
    <li>6</li>
    <li>7</li>
    <li>8</li>
    <li>9</li>
    <li>10</li>
</ul>
</body>
</html>